package com.cskaoyan.module.vo;

import com.cskaoyan.module.pojo.MarketAd;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * MarketAdVo
 *
 * @param
 * @return
 * @2022/4/7
 **/
@NoArgsConstructor
@Data
public class MarketAdVo {

    @JsonProperty("total")
    private Integer total;
    @JsonProperty("pages")
    private Integer pages;
    @JsonProperty("limit")
    private Integer limit;
    @JsonProperty("page")
    private Integer page;
    @JsonProperty("list")
    private List<MarketAd> list;

    @Override
    public String toString() {
        return "{" +
                "total=" + total +
                ", pages=" + pages +
                ", limit=" + limit +
                ", page=" + page +
                ", list=" + list +
                '}';
    }
}
